package com.cn.wanxi.servlet;

import com.cn.wanxi.model.CompanyModel;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        String path = "E:\\wanxi\\aaa\\food03-1012\\web\\img\\";
        File file = new File(path);//不支持无参的构造方法
//        CompanyModel companyModel = new CompanyModel();//如果类里面有一个有参的构造方法，无参构造方法无效
//        System.out.println(file.isFile());
        System.out.println(file.mkdirs());  ;
    }
}
